package com.example.music.DB;

import org.litepal.crud.LitePalSupport;

public class UserInfo extends LitePalSupport {
    private Integer Id;
    private String userName;
    private String userPwd;
    private String userPhone;
    private String personSignature;
    private String hometown;

    private String email;


    public UserInfo(){};
    public UserInfo(String username, String userpwd, Boolean isLogin) {
        this.userName = username;
        this.userPwd = userpwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getPersonSignature() {
        return personSignature;
    }

    public void setPersonSignature(String personSignature) {
        this.personSignature = personSignature;
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public UserInfo(String username, String userPhone, String personSignature
                , String hometown, String email) {
        this.userName = username;
        this.userPhone = userPhone;
        this.hometown = hometown;
        this.email = email;
        this.personSignature = personSignature;
    }
    public Integer getId() {
        return Id;
    }

    public String getUsername() {
        return userName;
    }

    public void setUsername(String username) {
        this.userName = username;
    }

    public String getUserpwd() {
        return userPwd;
    }

    public void setUserpwd(String userpwd) {
        this.userPwd = userpwd;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "username='" + userName + '\'' +
                ", userpwd='" + userPwd + '\'' +
                +
                '}';
    }
}
